package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoVehicleLendOrderDetailVO;
import com.yunxi.sto.pojo.StoVehicleLendOrderQueryVO;
import com.yunxi.sto.pojo.StoVehicleLendOrderVO;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 借车单 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-05-30
 */
public interface StoVehicleLendOrderDubboService {

    StoVehicleLendOrderVO getById(String id) throws Exception;

    StoVehicleLendOrderDetailVO loadDetail(String id) throws Exception;

    void saveOrUpdate(StoVehicleLendOrderVO stoVehicleLendOrderVO) throws Exception;

    void removeById(String id);

    PageInfo<StoVehicleLendOrderQueryVO> findPageByVO(StoVehicleLendOrderQueryVO stoVehicleLendOrderQueryVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    List<StoVehicleLendOrderQueryVO> export(StoVehicleLendOrderQueryVO stoVehicleLendOrderQueryVO) throws Exception;

    void removeByListVo(List<StoVehicleLendOrderVO> stoVehicleLendOrderVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    void delAndReset(List<String> list,Integer isDel,String userId) throws Exception;

//    void toInOutPlan(List<String> list,Integer isOut) throws Exception;
}
